package autoproperties;

public class AutoProperties {

	private static AutoProperties AUTO_PROPERTIES;
	private KeeperProperties keeper_properties;

	private AutoProperties() {
		keeper_properties = KeeperProperties.getInstance();
	}

	public static AutoProperties getInstance() {
		if (AUTO_PROPERTIES == null) {
			AUTO_PROPERTIES = new AutoProperties();
		}
		return AUTO_PROPERTIES;
	}

	public Boolean getGarageManager() {
		return keeper_properties.getGarageProperties();
	}

	public Boolean getPermissionShiftTimeOrder() {
		return keeper_properties.shiftProperty();
	}

	public boolean getPermissionDeleteOrder() {
		return keeper_properties.deleteProperty();
	}

	public String getFilePath() {
		return keeper_properties.getFilePath();
	}

}
